package be.ipl.streams.usecases;

import javax.ejb.Remote;

import be.ipl.streams.domaine.Player;
import be.ipl.streams.exceptions.ArgumentInvalideException;
import be.ipl.streams.exceptions.LoginAlreadyExistException;
import be.ipl.streams.exceptions.LoginOrPasswordIncorrectException;

@Remote
public interface PlayerManagement {
	Player register(String login, String password)
			throws ArgumentInvalideException, LoginAlreadyExistException;
	Player login(String login, String password)
			throws ArgumentInvalideException, LoginOrPasswordIncorrectException;
}
